Optimal. Leaf size=81 \[ -\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}-\frac {b n \sqrt {d+e x^2}}{d x}+\frac {b \sqrt {e} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2335, 277, 217, 206} \[ -\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}-\frac {b n \sqrt {d+e x^2}}{d x}+\frac {b \sqrt {e} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 217
Rule 277
Rule 2335
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c x^n\right )}{x^2 \sqrt {d+e x^2}} \, dx &=-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}+\frac {(b n) \int \frac {\sqrt {d+e x^2}}{x^2} \, dx}{d}\\ &=-\frac {b n \sqrt {d+e x^2}}{d x}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}+\frac {(b e n) \int \frac {1}{\sqrt {d+e x^2}} \, dx}{d}\\ &=-\frac {b n \sqrt {d+e x^2}}{d x}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}+\frac {(b e n) \operatorname {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{d}\\ &=-\frac {b n \sqrt {d+e x^2}}{d x}+\frac {b \sqrt {e} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{d}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{d x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 77, normalized size = 0.95 \[ \frac {(a+b n) \left (-\sqrt {d+e x^2}\right )-b \sqrt {d+e x^2} \log \left (c x^n\right )+b \sqrt {e} n x \log \left (\sqrt {e} \sqrt {d+e x^2}+e x\right )}{d x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 127, normalized size = 1.57 \[ \left [\frac {b \sqrt {e} n x \log \left (-2 \, e x^{2} - 2 \, \sqrt {e x^{2} + d} \sqrt {e} x - d\right ) - 2 \, \sqrt {e x^{2} + d} {\left (b n \log \relax (x) + b n + b \log \relax (c) + a\right )}}{2 \, d x}, -\frac {b \sqrt {-e} n x \arctan \left (\frac {\sqrt {-e} x}{\sqrt {e x^{2} + d}}\right ) + \sqrt {e x^{2} + d} {\left (b n \log \relax (x) + b n + b \log \relax (c) + a\right )}}{d x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \log \left (c x^{n}\right ) + a}{\sqrt {e x^{2} + d} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.37, size = 0, normalized size = 0.00 \[ \int \frac {b \ln \left (c \,x^{n}\right )+a}{\sqrt {e \,x^{2}+d}\, x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.71, size = 77, normalized size = 0.95 \[ \frac {{\left (\sqrt {e} \operatorname {arsinh}\left (\frac {e x}{\sqrt {d e}}\right ) - \frac {\sqrt {e x^{2} + d}}{x}\right )} b n}{d} - \frac {\sqrt {e x^{2} + d} b \log \left (c x^{n}\right )}{d x} - \frac {\sqrt {e x^{2} + d} a}{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,\ln \left (c\,x^n\right )}{x^2\,\sqrt {e\,x^2+d}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \log {\left (c x^{n} \right )}}{x^{2} \sqrt {d + e x^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________